|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.databases.configurations.DatabaseColumnConfiguration
public class DatabaseColumnConfiguration
A configuration for a column in a database table.
| Field Summary | |
|---|---|
static int |
TYPE_BIG_DECIMAL
The database long decimal type. |
static int |
TYPE_BIG_NUMBER
The database long number type. |
static int |
TYPE_BOOLEAN
The database true/false type. |
static int |
TYPE_DATETIME
The database date and time type. |
static int |
TYPE_DECIMAL
The database short decimal type. |
static int |
TYPE_NUMBER
The database short number type. |
static int |
TYPE_TEXT
The database long string type. |
static int |
TYPE_VARCHAR
The database short string type. |
| Fields inherited from interface org.eclipse.vtp.framework.databases.configurations.DatabaseConstants |
|---|
NAME_COLUMN, NAME_COMPARISON, NAME_CRITERIA, NAME_DATABASE, NAME_DRIVER, NAME_JDBC_DATABASE, NAME_JNDI_DATABASE, NAME_MAPPING, NAME_NAME, NAME_PASSWORD, NAME_QUERY, NAME_RESULT_CARDINALITY, NAME_RESULT_LIMIT, NAME_RESULT_NAME, NAME_RESULT_TYPE, NAME_TABLE, NAME_TIMEOUT, NAME_TYPE, NAME_URI, NAME_URL, NAME_USERNAME, NAME_VALUE, NAMESPACE_URI |
| Constructor Summary | |
|---|---|
DatabaseColumnConfiguration()
Creates a new DatabaseColumnConfiguration. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the name of the column. |
int |
getType()
Returns the type of the column. |
void |
load(org.w3c.dom.Element configurationElement)
Loads the configuration information from the specified XML element. |
void |
save(org.w3c.dom.Element configurationElement)
Saves the configuration information into the supplied XML element. |
void |
setName(java.lang.String name)
Sets the name of the column. |
void |
setType(int type)
Sets the type of the column. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_BIG_DECIMAL
public static final int TYPE_BIG_NUMBER
public static final int TYPE_BOOLEAN
public static final int TYPE_DATETIME
public static final int TYPE_DECIMAL
public static final int TYPE_NUMBER
public static final int TYPE_TEXT
public static final int TYPE_VARCHAR
| Constructor Detail |
|---|
public DatabaseColumnConfiguration()
| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - The name of the column.public int getType()
public void setType(int type)
type - The type of the column.public void load(org.w3c.dom.Element configurationElement)
IConfiguration
load in interface IConfigurationconfigurationElement - The element to load the configuration from.public void save(org.w3c.dom.Element configurationElement)
IConfiguration
save in interface IConfigurationconfigurationElement - The element to save the configuration to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||